package com.woniuxy.listener;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @Author: 马宇航
 * @Todo: 超过队列长度限制的死信消息处理类
 * @DateTime: 25/09/01/星期一 14:13
 * @Component: 成都蜗牛学苑
 **/
@Component
public class DeathQueueOverflowOpt {
    @RabbitListener(queues = "order.dlx.cancel")
    public void deathQueueOverflowOpt(String msg){
        System.out.println("DeathQueueOverflowOpt.deathQueueOverflowOpt监听:"+msg);
    }
}
